﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Doo.WebUI
{
    /// <summary>
    /// 挂件容器
    /// </summary>
    public class WidgetPanel:WidgetControl
    {
        public ControlCollection Widgets { get { return Controls; } }

        protected override void Render(HtmlTextWriter writer)
        {
            writer.RenderBeginTag( HtmlTextWriterTag.Div);
            base.RenderChildren(writer);
            writer.RenderEndTag();
        }
    }
}
